package com.icode.gulimall.ware.feign;

import com.icode.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: my_code
 * @Email: my_code@foxmail.com
 * @Create: 2021-01-28 17:47
 */
@FeignClient("gulimall-member")
public interface MemberFeignService {

    @GetMapping("member/memberreceiveaddress/info/{id}")
    R getAddrInfo(@PathVariable("id") Long addrId);
}
